import $ from 'jquery'
let time 
$(function () {
  $('.shows').css({
    position:'relative',
    opacity:0,
    top:'20px'
  })
  $(window).scroll(()=>{
    if(time)return
    time = setTimeout(() => {
      time = null
    }, 50);

    let tops = $(document).scrollTop()
    if(tops>200){
      $('.shows').stop().animate({
        top:'-20px',
        opacity:1,
      },500)
    }else{
      $('.shows').stop().animate({
        top:'20px',
        opacity:0,
      },500)
    }
  })
})